package com.heima.wemedia.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.admin.dtos.NewsAuthDto;
import com.heima.model.admin.vo.NewsVo;
import com.heima.model.admin.vo.WmNewsUserVO;
import com.heima.model.wemedia.pojos.WmNews;
import org.mapstruct.Mapper;


import java.util.List;

@Mapper
public interface WmNewsFeignMapper extends BaseMapper<WmNews> {

    List<NewsVo> listNews(NewsAuthDto dto);

    WmNewsUserVO getNewsDetail(Integer id);

    Integer auth_fail(NewsAuthDto dto);

    void upde(NewsAuthDto dto);
}
